<template>
  <div>
    <div>child2组件</div>
    <button @click="setCount">++ count ++</button>
  </div>
</template>

<script>
export default {
  methods: {
    setCount() {
      this.$eventBus.emit('addCount', 1)
    }
  }
}
</script>

<style lang="scss" scoped></style>
